package com.cxrj.zhsq.civilianManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.civilianManage.entity.RelevantDepartments;

public interface RelevantDepartmentsService {

	Map<String, Object> selectRdPage(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> insertRd(RelevantDepartments relevantDepartments, HttpServletRequest request,
			HttpServletResponse response);

	Map<String, Object> selectById(String rdId, HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> updateRd(RelevantDepartments relevantDepartments, HttpServletRequest request,
			HttpServletResponse response);

	Map<String, Object> insertTel(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> deleteRd(String rdId);
	
	Map<String, Object> selectRd(String code, String dataIndex, String pageCount);
	
	Map<String, Object> selectRdById(String id);

	Map<String, Object> deleteTelById(String tid);

}
